﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WLYT.Domain.Entries
{
    ///<summary>
    ///仓库管理
    ///</summary>
    [SugarTable("Sys_Warehouse")]
    public partial class Sys_Warehouse
    {
           public Sys_Warehouse(){

            this.Sort =Convert.ToInt32("0");
            this.Name =Convert.ToString("");
            this.IP =Convert.ToString("");
            this.X =Convert.ToInt32("0");
            this.Y =Convert.ToInt32("0");
            this.Z =Convert.ToInt32("0");
            this.Qty =Convert.ToInt32("0");
            this.Size =Convert.ToInt32("0");
            this.IsLock =false;
            this.Remark =Convert.ToString("");
            this.CreateTime =DateTime.Now;

           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:排序
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Sort {get;set;}

           /// <summary>
           /// Desc:名称
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Name {get;set;}

           /// <summary>
           /// Desc:IP
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string IP {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int X {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Y {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Z {get;set;}

           /// <summary>
           /// Desc:库位数
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Qty {get;set;}

           /// <summary>
           /// Desc:是否七寸仓
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Size {get;set;}

           /// <summary>
           /// Desc:是否禁用
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public bool IsLock {get;set;}

           /// <summary>
           /// Desc:备注
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Remark {get;set;}

           /// <summary>
           /// Desc:
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}

    }
}
